package cn.doit.scala.day04.oob

import scala.beans.BeanProperty

/**
 * @DATE 2021/12/28/17:36
 * @Author MDK
 * @Version 2021.2.2
 * */
class Teacher {
  @BeanProperty
  val id:Int =1
  var name:String =_
  var age:Int =_

  override def toString = s"Teacher($id, $name, $age)"
}
